package com.kingsalert.kingsalert.config;

import com.kingsalert.kingsalert.R;

public class ProcessConfig {

    //流程
    public static final String Process_Step_Personal = "personal_info";
    public static final String Process_Step_Contact = "contact_info";
    public static final String Process_Step_Work = "work_info";
    public static final String Process_Step_Account = "account_info";
    public static final String Process_Step_Ocr = "ocr_info";
    public static final String Process_Step_Sefie = "sefie_info";

    //流程字段类型
    public static final String Data_Action_Input = "INPUT";//输入
    public static final String Data_Action_Select = "SELECT";//选择下拉
    public static final String Data_Action_DatePick = "DATE_PICK";//日期
    public static final String Data_Action_GenderPick = "GENDER_PICK";//性别
    public static final String Data_Action_AddressPick = "ADDRESS_PICK";//地址联动模块
    //联系人模块
    public static final String Data_Action_Contact_Relation = "CONTACT_GROUP_RELATION";
    public static final String Data_Action_Contact_Name = "CONTACT_GROUP_NAME";
    public static final String Data_Action_Contact_Phone = "CONTACT_GROUP_PHONE";


    public static int getProcessImgResId(String processName){
        switch (processName){
            case Process_Step_Contact:return R.drawable.img_process_dialog_contact;
            case Process_Step_Work:return R.drawable.img_process_dialog_work;
            case Process_Step_Account:return R.drawable.img_process_dialog_account;
            case Process_Step_Sefie:return R.drawable.img_process_dialog_face;
            case Process_Step_Ocr:return R.drawable.img_process_dialog_ocr;
            case Process_Step_Personal:
            default:return R.drawable.img_process_dialog_personal;
        }
    }

}
